package habitables;

import java.util.HashMap;

import model.IModel;
import utilities.Key;
import view.EViewList;
import view.View;
import controller.AbstractController;
import controller.IController;
import eventManager.EventManager;
import eventManager.IEventData;
import eventStrategies.IEventResponse;
import events.ECodeEventList;

public class HabitableController implements IController {

	private AbstractController controller;
	
	
	
	
	//IController interface methods
	public void setModel(IModel model) {
		controller.setModel(model);
	}

	public Key getKey() {
		return controller.getKey();
	}

	public void addView(View view) {
		controller.setSpatial(view);
	}

	public HashMap<EViewList, View> getViews() {
		return controller.getViews();
	}

	public HashMap<ECodeEventList, IEventResponse> getEvents() {
		return controller.getEvents();
	}

	public void loadStrategy(IEventResponse strategy) {
		controller.loadStrategy(strategy);
	}

	public void processOutgoingEvent(IEventData event) {
		controller.processOutgoingEvent(event);
	}

	public void handleEvent(IEventData event) {
		controller.handleEvent(event);
	}

	

	

	

}
